package com.linkhub.oms.admin.modules.order.domain.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Description: OrderInfoUpdateParam
 * @Author: echo
 * @Date: 2024/4/4 11:57
 * @Version: 1.0
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("订单主表更新参数")
public class OrderInfoUpdateParam extends BaseSingleOrderParam implements Serializable {

    @ApiModelProperty("卖家备注")
    @NotBlank(message = "{validation.order.sellerNote.notBlank}")
    @Length(max = 100, message = "{validation.order.sellerNote.length}")
    private String sellerNote;


}
